package com.example.springioc.v2;

public class Tire {
    private int size = 21;
    private String color  = "red";

    public Tire(int size, String color) {
        this.size = size;
        this.color = color;
        System.out.println("tire size:" + size + " , tire color:" + color);
    }

    public Tire() {
        System.out.println("tire size:" + size + " , tire color:" + color);
    }
}
